package com.cy.dda.model.domain.goodsdiligencing;

import com.cy.dda.model.enums.AttachmentType;
import com.cy.dda.model.enums.goodsdiligencing.GoodsDiligencingAttachmentType;
import lombok.Data;

import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;
import java.util.Date;

/**
 * @Description 验真报告图片 t_goods_diligencing_verify_truth_report_attachment
 * @Author tanyilin
 * @Date 2019/8/26 15:26
 */
@Data
@Table(name = "t_goods_diligencing_verify_truth_report_attachment")
public class GoodsDiligencingVerifyTruthReportAttachment {

    @Id
    @GeneratedValue(strategy = GenerationType.IDENTITY)
    private Long id;

    /** 验真报告ID */
    private Long verifyTruthReportId;

    /** 附件类型 */
    private AttachmentType attachmentType;

    /** 类型 */
    private GoodsDiligencingAttachmentType type;

    /** 附件名称 */
    private String name;

    /** 路径 */
    private String path;

    /** 创建时间 */
    private Date createTime;

    /** 更新时间 */
    private Date updateTime;

}
